package com.citcc4.traffic.data.domain.snap;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class OrderPatReviewEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public OrderPatReviewEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("ORDER_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("ORDER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("ORDER_ID =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("ORDER_ID <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("ORDER_ID >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_ID >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("ORDER_ID <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("ORDER_ID <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("ORDER_ID like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("ORDER_ID not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("ORDER_ID in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("ORDER_ID not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("ORDER_ID between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("ORDER_ID not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andPecTypeIsNull() {
            addCriterion("PEC_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andPecTypeIsNotNull() {
            addCriterion("PEC_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andPecTypeEqualTo(String value) {
            addCriterion("PEC_TYPE =", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeNotEqualTo(String value) {
            addCriterion("PEC_TYPE <>", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeGreaterThan(String value) {
            addCriterion("PEC_TYPE >", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeGreaterThanOrEqualTo(String value) {
            addCriterion("PEC_TYPE >=", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeLessThan(String value) {
            addCriterion("PEC_TYPE <", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeLessThanOrEqualTo(String value) {
            addCriterion("PEC_TYPE <=", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeLike(String value) {
            addCriterion("PEC_TYPE like", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeNotLike(String value) {
            addCriterion("PEC_TYPE not like", value, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeIn(List<String> values) {
            addCriterion("PEC_TYPE in", values, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeNotIn(List<String> values) {
            addCriterion("PEC_TYPE not in", values, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeBetween(String value1, String value2) {
            addCriterion("PEC_TYPE between", value1, value2, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecTypeNotBetween(String value1, String value2) {
            addCriterion("PEC_TYPE not between", value1, value2, "pecType");
            return (Criteria) this;
        }

        public Criteria andPecRoadIsNull() {
            addCriterion("PEC_ROAD is null");
            return (Criteria) this;
        }

        public Criteria andPecRoadIsNotNull() {
            addCriterion("PEC_ROAD is not null");
            return (Criteria) this;
        }

        public Criteria andPecRoadEqualTo(String value) {
            addCriterion("PEC_ROAD =", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadNotEqualTo(String value) {
            addCriterion("PEC_ROAD <>", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadGreaterThan(String value) {
            addCriterion("PEC_ROAD >", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadGreaterThanOrEqualTo(String value) {
            addCriterion("PEC_ROAD >=", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadLessThan(String value) {
            addCriterion("PEC_ROAD <", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadLessThanOrEqualTo(String value) {
            addCriterion("PEC_ROAD <=", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadLike(String value) {
            addCriterion("PEC_ROAD like", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadNotLike(String value) {
            addCriterion("PEC_ROAD not like", value, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadIn(List<String> values) {
            addCriterion("PEC_ROAD in", values, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadNotIn(List<String> values) {
            addCriterion("PEC_ROAD not in", values, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadBetween(String value1, String value2) {
            addCriterion("PEC_ROAD between", value1, value2, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecRoadNotBetween(String value1, String value2) {
            addCriterion("PEC_ROAD not between", value1, value2, "pecRoad");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberIsNull() {
            addCriterion("PEC_CAR_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberIsNotNull() {
            addCriterion("PEC_CAR_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberEqualTo(String value) {
            addCriterion("PEC_CAR_NUMBER =", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberNotEqualTo(String value) {
            addCriterion("PEC_CAR_NUMBER <>", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberGreaterThan(String value) {
            addCriterion("PEC_CAR_NUMBER >", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberGreaterThanOrEqualTo(String value) {
            addCriterion("PEC_CAR_NUMBER >=", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberLessThan(String value) {
            addCriterion("PEC_CAR_NUMBER <", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberLessThanOrEqualTo(String value) {
            addCriterion("PEC_CAR_NUMBER <=", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberLike(String value) {
            addCriterion("PEC_CAR_NUMBER like", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberNotLike(String value) {
            addCriterion("PEC_CAR_NUMBER not like", value, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberIn(List<String> values) {
            addCriterion("PEC_CAR_NUMBER in", values, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberNotIn(List<String> values) {
            addCriterion("PEC_CAR_NUMBER not in", values, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberBetween(String value1, String value2) {
            addCriterion("PEC_CAR_NUMBER between", value1, value2, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andPecCarNumberNotBetween(String value1, String value2) {
            addCriterion("PEC_CAR_NUMBER not between", value1, value2, "pecCarNumber");
            return (Criteria) this;
        }

        public Criteria andOtherResonIsNull() {
            addCriterion("OTHER_RESON is null");
            return (Criteria) this;
        }

        public Criteria andOtherResonIsNotNull() {
            addCriterion("OTHER_RESON is not null");
            return (Criteria) this;
        }

        public Criteria andOtherResonEqualTo(String value) {
            addCriterion("OTHER_RESON =", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonNotEqualTo(String value) {
            addCriterion("OTHER_RESON <>", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonGreaterThan(String value) {
            addCriterion("OTHER_RESON >", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonGreaterThanOrEqualTo(String value) {
            addCriterion("OTHER_RESON >=", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonLessThan(String value) {
            addCriterion("OTHER_RESON <", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonLessThanOrEqualTo(String value) {
            addCriterion("OTHER_RESON <=", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonLike(String value) {
            addCriterion("OTHER_RESON like", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonNotLike(String value) {
            addCriterion("OTHER_RESON not like", value, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonIn(List<String> values) {
            addCriterion("OTHER_RESON in", values, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonNotIn(List<String> values) {
            addCriterion("OTHER_RESON not in", values, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonBetween(String value1, String value2) {
            addCriterion("OTHER_RESON between", value1, value2, "otherReson");
            return (Criteria) this;
        }

        public Criteria andOtherResonNotBetween(String value1, String value2) {
            addCriterion("OTHER_RESON not between", value1, value2, "otherReson");
            return (Criteria) this;
        }

        public Criteria andResultResonIsNull() {
            addCriterion("RESULT_RESON is null");
            return (Criteria) this;
        }

        public Criteria andResultResonIsNotNull() {
            addCriterion("RESULT_RESON is not null");
            return (Criteria) this;
        }

        public Criteria andResultResonEqualTo(String value) {
            addCriterion("RESULT_RESON =", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonNotEqualTo(String value) {
            addCriterion("RESULT_RESON <>", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonGreaterThan(String value) {
            addCriterion("RESULT_RESON >", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonGreaterThanOrEqualTo(String value) {
            addCriterion("RESULT_RESON >=", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonLessThan(String value) {
            addCriterion("RESULT_RESON <", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonLessThanOrEqualTo(String value) {
            addCriterion("RESULT_RESON <=", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonLike(String value) {
            addCriterion("RESULT_RESON like", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonNotLike(String value) {
            addCriterion("RESULT_RESON not like", value, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonIn(List<String> values) {
            addCriterion("RESULT_RESON in", values, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonNotIn(List<String> values) {
            addCriterion("RESULT_RESON not in", values, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonBetween(String value1, String value2) {
            addCriterion("RESULT_RESON between", value1, value2, "resultReson");
            return (Criteria) this;
        }

        public Criteria andResultResonNotBetween(String value1, String value2) {
            addCriterion("RESULT_RESON not between", value1, value2, "resultReson");
            return (Criteria) this;
        }

        public Criteria andIsPersonIsNull() {
            addCriterion("IS_PERSON is null");
            return (Criteria) this;
        }

        public Criteria andIsPersonIsNotNull() {
            addCriterion("IS_PERSON is not null");
            return (Criteria) this;
        }

        public Criteria andIsPersonEqualTo(String value) {
            addCriterion("IS_PERSON =", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonNotEqualTo(String value) {
            addCriterion("IS_PERSON <>", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonGreaterThan(String value) {
            addCriterion("IS_PERSON >", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonGreaterThanOrEqualTo(String value) {
            addCriterion("IS_PERSON >=", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonLessThan(String value) {
            addCriterion("IS_PERSON <", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonLessThanOrEqualTo(String value) {
            addCriterion("IS_PERSON <=", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonLike(String value) {
            addCriterion("IS_PERSON like", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonNotLike(String value) {
            addCriterion("IS_PERSON not like", value, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonIn(List<String> values) {
            addCriterion("IS_PERSON in", values, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonNotIn(List<String> values) {
            addCriterion("IS_PERSON not in", values, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonBetween(String value1, String value2) {
            addCriterion("IS_PERSON between", value1, value2, "isPerson");
            return (Criteria) this;
        }

        public Criteria andIsPersonNotBetween(String value1, String value2) {
            addCriterion("IS_PERSON not between", value1, value2, "isPerson");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andSectionCodeIsNull() {
            addCriterion("SECTION_CODE is null");
            return (Criteria) this;
        }

        public Criteria andSectionCodeIsNotNull() {
            addCriterion("SECTION_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andSectionCodeEqualTo(String value) {
            addCriterion("SECTION_CODE =", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeNotEqualTo(String value) {
            addCriterion("SECTION_CODE <>", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeGreaterThan(String value) {
            addCriterion("SECTION_CODE >", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SECTION_CODE >=", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeLessThan(String value) {
            addCriterion("SECTION_CODE <", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeLessThanOrEqualTo(String value) {
            addCriterion("SECTION_CODE <=", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeLike(String value) {
            addCriterion("SECTION_CODE like", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeNotLike(String value) {
            addCriterion("SECTION_CODE not like", value, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeIn(List<String> values) {
            addCriterion("SECTION_CODE in", values, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeNotIn(List<String> values) {
            addCriterion("SECTION_CODE not in", values, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeBetween(String value1, String value2) {
            addCriterion("SECTION_CODE between", value1, value2, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andSectionCodeNotBetween(String value1, String value2) {
            addCriterion("SECTION_CODE not between", value1, value2, "sectionCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeIsNull() {
            addCriterion("ROAD_CODE is null");
            return (Criteria) this;
        }

        public Criteria andRoadCodeIsNotNull() {
            addCriterion("ROAD_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andRoadCodeEqualTo(String value) {
            addCriterion("ROAD_CODE =", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeNotEqualTo(String value) {
            addCriterion("ROAD_CODE <>", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeGreaterThan(String value) {
            addCriterion("ROAD_CODE >", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ROAD_CODE >=", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeLessThan(String value) {
            addCriterion("ROAD_CODE <", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeLessThanOrEqualTo(String value) {
            addCriterion("ROAD_CODE <=", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeLike(String value) {
            addCriterion("ROAD_CODE like", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeNotLike(String value) {
            addCriterion("ROAD_CODE not like", value, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeIn(List<String> values) {
            addCriterion("ROAD_CODE in", values, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeNotIn(List<String> values) {
            addCriterion("ROAD_CODE not in", values, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeBetween(String value1, String value2) {
            addCriterion("ROAD_CODE between", value1, value2, "roadCode");
            return (Criteria) this;
        }

        public Criteria andRoadCodeNotBetween(String value1, String value2) {
            addCriterion("ROAD_CODE not between", value1, value2, "roadCode");
            return (Criteria) this;
        }

        public Criteria andResultStatusIsNull() {
            addCriterion("RESULT_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andResultStatusIsNotNull() {
            addCriterion("RESULT_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andResultStatusEqualTo(String value) {
            addCriterion("RESULT_STATUS =", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotEqualTo(String value) {
            addCriterion("RESULT_STATUS <>", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThan(String value) {
            addCriterion("RESULT_STATUS >", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThanOrEqualTo(String value) {
            addCriterion("RESULT_STATUS >=", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThan(String value) {
            addCriterion("RESULT_STATUS <", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThanOrEqualTo(String value) {
            addCriterion("RESULT_STATUS <=", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusLike(String value) {
            addCriterion("RESULT_STATUS like", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotLike(String value) {
            addCriterion("RESULT_STATUS not like", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusIn(List<String> values) {
            addCriterion("RESULT_STATUS in", values, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotIn(List<String> values) {
            addCriterion("RESULT_STATUS not in", values, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusBetween(String value1, String value2) {
            addCriterion("RESULT_STATUS between", value1, value2, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotBetween(String value1, String value2) {
            addCriterion("RESULT_STATUS not between", value1, value2, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andStatisDateIsNull() {
            addCriterion("STATIS_DATE is null");
            return (Criteria) this;
        }

        public Criteria andStatisDateIsNotNull() {
            addCriterion("STATIS_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andStatisDateEqualTo(Date value) {
            addCriterionForJDBCDate("STATIS_DATE =", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("STATIS_DATE <>", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateGreaterThan(Date value) {
            addCriterionForJDBCDate("STATIS_DATE >", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("STATIS_DATE >=", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateLessThan(Date value) {
            addCriterionForJDBCDate("STATIS_DATE <", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("STATIS_DATE <=", value, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateIn(List<Date> values) {
            addCriterionForJDBCDate("STATIS_DATE in", values, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("STATIS_DATE not in", values, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("STATIS_DATE between", value1, value2, "statisDate");
            return (Criteria) this;
        }

        public Criteria andStatisDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("STATIS_DATE not between", value1, value2, "statisDate");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("DEL_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("DEL_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("DEL_FLAG =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("DEL_FLAG <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("DEL_FLAG >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("DEL_FLAG >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("DEL_FLAG <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("DEL_FLAG <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("DEL_FLAG like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("DEL_FLAG not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("DEL_FLAG in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("DEL_FLAG not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("DEL_FLAG between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("DEL_FLAG not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("UPDATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("UPDATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("UPDATE_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("UPDATE_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("UPDATE_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("CREATOR is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("CREATOR is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("CREATOR =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("CREATOR <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("CREATOR >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("CREATOR >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("CREATOR <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("CREATOR <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("CREATOR like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("CREATOR not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("CREATOR in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("CREATOR not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("CREATOR between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("CREATOR not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("MODIFIER is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("MODIFIER is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("MODIFIER =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("MODIFIER <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("MODIFIER >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("MODIFIER >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("MODIFIER <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("MODIFIER <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("MODIFIER like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("MODIFIER not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("MODIFIER in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("MODIFIER not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("MODIFIER between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("MODIFIER not between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameIsNull() {
            addCriterion("PEC_TYPE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameIsNotNull() {
            addCriterion("PEC_TYPE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameEqualTo(String value) {
            addCriterion("PEC_TYPE_NAME =", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameNotEqualTo(String value) {
            addCriterion("PEC_TYPE_NAME <>", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameGreaterThan(String value) {
            addCriterion("PEC_TYPE_NAME >", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("PEC_TYPE_NAME >=", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameLessThan(String value) {
            addCriterion("PEC_TYPE_NAME <", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameLessThanOrEqualTo(String value) {
            addCriterion("PEC_TYPE_NAME <=", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameLike(String value) {
            addCriterion("PEC_TYPE_NAME like", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameNotLike(String value) {
            addCriterion("PEC_TYPE_NAME not like", value, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameIn(List<String> values) {
            addCriterion("PEC_TYPE_NAME in", values, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameNotIn(List<String> values) {
            addCriterion("PEC_TYPE_NAME not in", values, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameBetween(String value1, String value2) {
            addCriterion("PEC_TYPE_NAME between", value1, value2, "pecTypeName");
            return (Criteria) this;
        }

        public Criteria andPecTypeNameNotBetween(String value1, String value2) {
            addCriterion("PEC_TYPE_NAME not between", value1, value2, "pecTypeName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}